package com.deruan.hotcore.resource.gui.tree;

import java.util.Date;
import java.util.List;

import org.columba.mail.folder.IMailFolder;

import com.deruan.hotcore.base.common.bean.ResourceBean;


public class ResourceTreeNode extends ResultTreeNode
{
	private Date date;
	private ResourceBean resourceBean;

	public ResourceTreeNode(ResourceBean bean)
	{
		super(bean.getTitle());
		this.date = bean.getPublicDate();
		this.resourceBean = bean;
	}

	public Date getDate() 
	{
		return date;
	}

	public void setDate(Date date) 
	{
		this.date = date;
	}
	
	public ResourceBean getResourceBean()
	{
		return resourceBean;
	}
	
	public List getVector() {
		return children;
	}
}

